<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>多层嵌套</title>
  <style>
    .right-box {
      float: left;
      width: 100%;
      background: red;
      position: relative;
      overflow: hidden;
    }
    .center-box {
      float: left;
      width: 100%;
      background: yellow;
      position: relative;
      right: 50%;
    }
    .left-box {
      float: left;
      width: 100%;
      background: darkcyan;
      position: relative;
      right: 30%;
    }
    .left{
      float: left;
      width: 20%;
      position: relative;
      left: 80%;
      overflow: hidden;
    }
    .center{
      float: left;
      width: 30%;
      position: relative;
      left: 80%;
      height: 500px;
      overflow: hidden;
    }
    .right{
      float: left;
      width: 50%;
      position: relative;
      left: 80%;
      overflow: hidden;
    }
  </style>
</head>
<body>
  <div class="right-box">
    <div class="center-box">
      <div class="left-box">
        <div class="left">1</div>
        <div class="center">高度500</div>
        <div class="right">千万注意overflow:hidden设置的影响</div>
      </div>
    </div>
  </div>




</body>
</html>